//
//  IMMacro.h
//  tangshantongjiAPPFull
//
//  Created by yuntai on 2018/4/26.
//  Copyright © 2018年 yuntai. All rights reserved.
//

#ifndef IMMacro_h
#define IMMacro_h

#import "NSString+Extension.h"
#import "IWxChatMgrChat.h"
#import "NSString+Verify.h"
#import "NSString+Path.h"
#import "PublicMacros.h"
#import "MJPhoto.h"
#import "NSString+SHA.h"
#import "ChatMessageMgr.h"
#import "UserAccountManager.h"
#import "AppDelegate.h"
#import "ChatContactMgr.h"
#import "UcfgroupXMPPManger.h"
#import "ChatRecent.h"
#import <WebKit/WebKit.h>
#import "NSString+Time.h"
#import "ContactMemModel.h"
#import "IWxChatMgrLogin.h"
#import "IWxChatMgrChat.h"

#define kProgressUpdate                       @"kProgressUpdate"
#define KupdateChatmessageRecordHLQ           @"updateChatmessageRecordHLQ"
#define kMutSelectPhotoAlbumVCDismissNotification @"kMutSelectPhotoAlbumVCDismissNotification"//选择多张图片的VC 消失的通知
#define kOneSelectPhotoAlbumVCDismissNotification @"kOneSelectPhotoAlbumVCDismissNotification"//选择单张图片或相机的vc 消失的通知
#define kXmppRecentListUpdateNotification  @"kXmppRecentListUpdateNotification"//更新最近联系人列表的通知

#define KXmppMessageTroubleNoti   @"KXmppMessageTroubleNoti"//消息免打扰


#define kJpushAppKey  @"bd7010641cc87518f4a00322"
#define kJpushAppSecret  @"99af51de961113d0421c524a"

#ifdef DEBUG
//测试服务器
#define KAppRootUrl   @"http://www.tojoycloud.org/qfyfront"

#define kXMPPmyJID                 @"kXMPPmyJID"
#define kXMPPmyPassword            @"kXMPPmyPassword"
#define kXmppUploadFileDomain      @"upload.106.15.33.252"
#define kXMPPmyDomain              @"@106.15.33.252"//--
#define kXMPPMyBareDomain          @"106.15.33.252"//--
#define kXMPPmyResource            @"iOS"
#define kXMPPGroupDomain           @"group.106.15.33.252"//---
#define kXMPPAndGroupDomain        @"@group.106.15.33.252"//---
#define kXMPPmyHostAddr            @"106.15.33.252"   ////--
#define kXMPPmyHostPort             5222
#define kDefaultOpenApiUrl         @"http://img.imyouyun.com:81/"

/**正式服务器*/
//#define KAppRootUrl   @"http://www.tojoycloud.com/qfyfront"

//#define kXMPPmyJID                 @"kXMPPmyJID"
//#define kXMPPmyPassword            @"kXMPPmyPassword"
//#define kXmppUploadFileDomain      @"upload.ims.tojoycloud.com"
//#define kXMPPmyDomain              @"@ims.tojoycloud.com"//--
//#define kXMPPMyBareDomain          @"ims.tojoycloud.com"//--
//#define kXMPPmyResource            @"iOS"
//#define kXMPPGroupDomain           @"group.ims.tojoycloud.com"//---
//#define kXMPPAndGroupDomain        @"@group.ims.tojoycloud.com"//---
//#define kXMPPmyHostAddr            @"ims.tojoycloud.com"   ////--
//#define kXMPPmyHostPort             5111
//#define kDefaultOpenApiUrl         @"img.imyouyun.com:81/"


#else

//测试服务器
#define KAppRootUrl   @"http://www.tojoycloud.org/qfyfront"
/**47.92.81.174*/
#define kXMPPmyJID                 @"kXMPPmyJID"
#define kXMPPmyPassword            @"kXMPPmyPassword"
#define kXmppUploadFileDomain      @"upload.106.15.33.252"
#define kXMPPmyDomain              @"@106.15.33.252"//--
#define kXMPPMyBareDomain          @"106.15.33.252"//--
#define kXMPPmyResource            @"iOS"
#define kXMPPGroupDomain           @"group.106.15.33.252"//---
#define kXMPPAndGroupDomain        @"@group.106.15.33.252"//---
#define kXMPPmyHostAddr            @"106.15.33.252"   ////--
#define kXMPPmyHostPort             5222
#define kDefaultOpenApiUrl         @"http://img.imyouyun.com:81/"

/**正式服务器*/
//#define KAppRootUrl   @"http://www.tojoycloud.com/qfyfront"
//
//#define kXMPPmyJID                 @"kXMPPmyJID"
//#define kXMPPmyPassword            @"kXMPPmyPassword"
//#define kXmppUploadFileDomain      @"upload.ims.tojoycloud.com"
//#define kXMPPmyDomain              @"@ims.tojoycloud.com"//--
//#define kXMPPMyBareDomain          @"ims.tojoycloud.com"//--
//#define kXMPPmyResource            @"iOS"
//#define kXMPPGroupDomain           @"group.ims.tojoycloud.com"//---
//#define kXMPPAndGroupDomain        @"@group.ims.tojoycloud.com"//---
//#define kXMPPmyHostAddr            @"ims.tojoycloud.com"   ////--
//#define kXMPPmyHostPort             5111
//#define kDefaultOpenApiUrl         @"img.imyouyun.com:81/"

#endif


#endif /* IMMacro_h */
